package com.mb.collect.mapper;

import com.mb.common.pojo.Collect;
import com.mb.common.pojo.Product;

import java.util.List;

public interface CollectMapper {
    List<Collect> selectId(String userId);

    Collect selectUserIdAndProductId(Collect collect);

    Product selectProductById(String productId);

    void insertCollect(Collect collect);

    void delCollect(Collect collect);
}
